<%@page import="Info.DoctorI"%>
<%@page import="java.util.List"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.Date"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>项目</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
	<div id="wrap">
		<div id="top_content">
			<div id="header">
				<div id="rightheader">
					<p>
						<%
							Date d = new Date();
							SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
						%>
						<%=sdf.format(d)%>
						<br />
					</p>
				</div>
				<div id="topheader">
					<h1 id="title">
						<a href="#">该科室的医生</a>
					</h1>
				</div>
				<div id="navigation"></div>
			</div>
			<div id="content">
				<p id="whereami"></p>
				<div class="head-l">
					<a class="button button-little bg-blue" href="LookKeshiS"><span
						class="icon-power-off"></span>
					<h3>返回</h3></a><br>
				</div>
				<h1>Welcome!</h1>
				<table class="table1" width="800" border="1" cellpadding="0" cellspacing="0" align="center">
					<tr class="table_header">			
						<td width="10%" align="center">医生编号</td>
						<td width="10%" align="center">医生姓名</td>
						<td width="10%" align="center">医生性别</td>
						<td width="10%" align="center">医生职位</td>
					</tr>
					<%
					    List<DoctorI> list=(List<DoctorI>)request.getAttribute("kd");
					      for(int i=0;i<list.size();i++){
						   DoctorI kd=list.get(i);
					%>
					<tr class="row1">
						<td align="center"><%=kd.getDnum()%></td>
						<td align="center"><%=kd.getName()%></td>
						<td align="center"><%=kd.getSex()%></td>
						<td align="center"><%=kd.getType()%></td>
					</tr>
                  <%} %>
				</table>
				<br>
				<br>
				<br>
			</div>
		</div>
		<div id="footer">
			<div id="footer_bg">ABC@126.com</div>
		</div>
	</div>
</body>
</html>
